<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	 <div  id="content">
            <section class="content-header">
                <h1>
                    <i class="fa fa-cogs"></i>
                    <strong>典型案例管理</strong>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-home "></i>Home</a></li>
                    <li>售后管理</li>
                    <li class="active">典型案例管理</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content"> 
                 <div class="row">
                    <div class="col-md-12" id="ExperienceAdd">
						<input type="hidden" name="Id" id="Id" />
						<div class="box box-info">
                            <div class="box-header with-border">
                                <i class="fa fa-th-list"></i>
                                <h4 class="box-title">典型案例登记</h4>
                            </div>
                            <div class="widget-content nopadding">
                                <table class="table table-bordered">
                                   <tbody>
                                   	 <tr class="odd gradeX">
                                         <td width="8%" class="center">客户名称</td>
                                         <td width="17%">
                                              <div class="col-md-11">
												 <input class="form-control" type="text" id="customer" name="customer" 
												 datatype="*,*1-100"  nullmsg="请输入客户名称"/>
											 </div>
											 <div class="col-md-1">
												<span style="color: #F00">*</span>
											 </div>
											 </td>
						              	  <td width="8%" align="center" style="vertical-align:middle">设备类型</td>
							              <td width="17%">
								              <div class="col-md-11">
												  <input class="form-control" type="text"
														 id="deviceType" name="deviceType"  datatype="*,*1-100"
														 nullmsg="请输入设备类型" />
								              </div>
								              <div class="col-md-1">
												<span style="color: #F00">*</span>
											  </div>
				                          </td>
						              <td width="8%" align="center" style="vertical-align:middle">登记日期</td>
						              <td width="17%">
							              <div class="col-md-11">
							                 <input class="form-control" type="date" id="recordDate" name="recordDate" />
				                          </div>
			                          </td>
						             </tr>
						             <tr class="odd gradeC">
										<td class="center">故障描述</td>
										<td colspan="7"><textarea class="form-control"
												style="width: 100%" id="trouble" name="trouble" rows="3"></textarea>
										</td>
									 </tr>
									 <tr class="odd gradeC">
										 <td class="center">原因分析</td>
										 <td colspan="7"><textarea class="form-control"
																   style="width: 100%" id="reason" name="reason" rows="3"></textarea>
										 </td>
									 </tr>
									 <tr class="odd gradeC">
										 <td class="center">处理结果</td>
										 <td colspan="7"><textarea class="form-control"
																   style="width: 100%" id="result" name="result" rows="3"></textarea>
										 </td>
									 </tr>
									 <tr class="odd gradeX">
										<td class="center">备注</td>
										<td colspan="7"><textarea class="form-control"
												style="width: 100%" id="memo" name="memo" rows="3"></textarea>
										</td>
									 </tr>
									 <tr class="odd gradeX">
										<td class="center">附件</td>
										<td width="17%">
							              <div class="col-md-11">
							                 <button type="button" class="btn btn-sm btn-info upload">上传附件 </button>
											  <button type="button" class="btn btn-sm btn-info download">下载附件</button>
	                                      	 <span class="badge label-pill label-primary " id="attachmentnumber">0</span>
				                          </div>
			                           </td>
									 </tr>			
                                   </tbody>
                                </table>
                            </div>
                            <div class="box-body">
								<a type="button" class="btn btn-default resetBtn pull-right" href="javascript:history.go(-1)">返回</a>
							    <button class="btn btn-info pull-right saveBtn">保存</button>
							</div>
                        </div>   
                        
                    </div>
                </div>
            </section>
           <script th:src="@{/aftersaleexperience/experienceadd.js}"></script>
        </div>
		
</body>
</html>
        
